package com.example.mytips.bottomWindow;

public class WebPlusEntity {
    String displayName;
    String url;

    static WebPlusEntity getTenXunYuanBao() {
        return createEntity("腾讯元宝", "https://yuanbao.tencent.com/");
    }

    static WebPlusEntity getGoogle() {
        return createEntity("谷歌搜索", "https://www.google.com");
    }

    static WebPlusEntity getGoogleTranslate() {
        return createEntity("谷歌翻译", "https://translate.google.com/?hl=zh-CN");
    }

    static WebPlusEntity getFlutterPubDev() {
        return createEntity("Flutter pub", "https://pub.dev/");
    }

    static WebPlusEntity getTenXunDocument() {
        return createEntity("腾讯文档", "https://docs.qq.com/desktop");
    }


    static WebPlusEntity createEntity(String displayName, String url) {
        WebPlusEntity entity = new WebPlusEntity();
        entity.displayName = displayName;
        entity.url = url;
        return entity;
    }
}
